home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / ecc-121.lha / ecc-1.2.1 / ecc.h < prev    next >
Text File  |  1993-01-19  |  1KB  |  32 lines

  1. /*
  2.     ecc Version 1.2  by Paul Flaherty (paulf@stanford.edu)
  3.     Copyright (C) 1993 Free Software Foundation, Inc.
  4.  
  5.     This program is free software; you can redistribute it and/or modify
  6.     it under the terms of the GNU General Public License as published by
  7.     the Free Software Foundation; either version 2, or (at your option)
  8.     any later version.
  9.  
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU General Public License
  16.     along with this program; if not, write to the Free Software
  17.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. */
  19.  
  20.  
  21. /* ecc.h
  22.     Generator Polynomial Coefficients
  23.  
  24.     This header file contains an array which defines the generator
  25.     polynomial for the Reed - Solomon Code (255,249,7).  The polynomial
  26.     was hand generated, using a set of calculator programs.
  27. */
  28.  
  29. static unsigned char g[6] =
  30. {
  31.   117, 49, 58, 158, 4, 126};
  32.